package com.ding.authorizationserver.controller

import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.RequestParam
import org.springframework.web.bind.annotation.ResponseBody

import javax.servlet.http.HttpServletRequest

@Controller
class ResourceController {

    @RequestMapping('/data/a')
    @ResponseBody String a(){
        return '获取a资源'
    }

    @RequestMapping('/data/b')
    @ResponseBody String b(){
        return '获取b资源'
    }

}
